﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="head.ascx.cs" Inherits="Web.controls.head" %>
<link href="../CSS/css.css" rel="stylesheet" />
<div class="head_box" >
    <div class="logo">
        <asp:Image ID="Image1" runat="server" ImageUrl="~/images/LOGO1.png" />
    </div>
    <div class="head_right">
            <asp:BulletedList ID="bl_Menu" runat="server" DataSourceID="SqlDataSource1" DataTextField="menu_name" DataValueField="menu_url" DisplayMode="LinkButton" OnClick="bl_Menu_Click" OnPreRender="bl_Menu_PreRender"></asp:BulletedList>
        

            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mystudy_testConnectionString %>" SelectCommand="SELECT [menu_name], [menu_url], [iseable] FROM [tb_menu] WHERE ([iseable] = @iseable)">
                <SelectParameters>
                    <asp:Parameter DefaultValue="true" Name="iseable" Type="Boolean" />
                </SelectParameters>
            </asp:SqlDataSource>
        

    </div>
</div>